package com.lmc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lmc.common.R;
import com.lmc.pojo.Order;

public interface OrderService extends IService<Order> {


    /**
     * 用户消费100元的接口
     *
     * @param order
     * @return
     */
    R<String> spendMoney(Order order);

    /**
     * 查询用户钱包金额变动明细的接口
     *
     * @param order
     * @return
     */
    R<String> refundMoney(Order order);
}
